package com.ska.skautils.utilcode.util;

import android.app.Activity;
import android.content.Intent;

/**
 * start: 启动主线程的透明 Activity
 */
public class UtilsTransActivity4MainProcess extends UtilsTransActivity {

    public static void start(final TransActivityDelegate delegate) {
        start(null, null, delegate, UtilsTransActivity4MainProcess.class);
    }

    public static void start(final SkaUtils.Consumer<Intent> consumer,
                             final TransActivityDelegate delegate) {
        start(null, consumer, delegate, UtilsTransActivity4MainProcess.class);
    }

    public static void start(final Activity activity,
                             final TransActivityDelegate delegate) {
        start(activity, null, delegate, UtilsTransActivity4MainProcess.class);
    }

    public static void start(final Activity activity,
                             final SkaUtils.Consumer<Intent> consumer,
                             final TransActivityDelegate delegate) {
        start(activity, consumer, delegate, UtilsTransActivity4MainProcess.class);
    }
}
